createTrainDataFolds function

Create the training data for each of the k models in k-fold cross validation evaluation