fixed pca finally!!!!!!