PCA implemented but no tests yet.

Mostly copied from sklearn.
Test new y_stacked attribute.