Calculate PCA projections.