updated crossvalidation.py