Fixed typo in cross-validation function