small pca prim update

the rotation matrix is now stored