Transform a distance matrix into a similarity matrix
Leinster2012divent.
Similarity between two species is defined either by a negative exponential
function of their distance or by the complement to 1 of their normalized
distance (such that the most distant species are 1 apart).