functions to perform pca analysis and to perform pca
Change the return value