Added n-fold cross-validation to SupervisedLearner