fitting the pca and also saving it
improve readability
actually do transformation and save the results