added improved function to plot 2 and 3 d images of PCoAs