Made the crossvalidation and buildcross files much more robust to the amount of data coming in, number of folds, and excess noise training data