PCA with command line inputs