Fixed the output files for pca_project