fixes to PCA and PLS and OPLS