I forgot to commit these changes to the PCA based methods
fixing merge