Added numFold for cross-validation