NEW: pca implemented in dev/asman_implementation/pca_bis.py