Make PCA work