Created unit test for rxLinPredError, altered rxSample2Df so that it now accepts maxRowsByCols argument

Created unit test for rxLinPredError, altered rxSample2Df so that it now
accepts maxRowsByCols argument