Adding some changes to PCA