Various improvements to PCA section