toolbox to prepare data sets (matrices) for modeling