Scientists say they have developed a better way to predict how diseases such as Lassa fever jump from animals to humans.