ps_diversity function

Calculate spatial phylogenetic diversity and endemism metrics