script for making pcoa plots