updates to 3d PCoA plotting function