Working through k-folds cross-validation manually.