triPLS1 function

Tri-PLS1: three-way PLS regressed onto a y vector