Generalized PATHMOX Algorithm for PLS-PM, LS and LAD Regression