Updated PCA and correlation computation