Update PCA

Update PCA: add computation of principal and transformed components.