Update pca.cpp
Invariants_pca.cpp

Al invariants written
Merge pull request #2 from sanketc1987/master

second merge