Fixes to the PLS-DA implementation to work with filtered class groups >2