Add optional test set for cross-validation to cluster.modelfit
Further development on notes Rmd file.