edits to PCA not to plot all the time

Now it will only throw up plots if showplots = 1