added calculation of average taxonomic distinctiveness (AvTD) metric