bugfix in PCA. It seems to be working.