Matlab K Fold Cross Validation, Create an inner loop that iterates over the number of folds.