PCA

This is my code for applying PCA. Paris's code on the solution is much nicer, he's doing on the cov.