cv.interep function

k-folds cross-validation for interep