fixed bugs that caused two identical figures for PCA and non-PCA comparison