Function to run a PCA, plot and optionally return the data with PCA coordinates and pca object
Useful links