Gets all ages per taxon pair from a distance matrix Internal function used in summary_matrix_to_phylo_all().
Useful links