fix pca for features >=2