Small changes to crossValidation