add PCoA_pop function