xfit function

Matrix fitting from a PCA or PLS model