Added PCA computation