WIP for PP-140: Add documentation for nfolds and fix another bug in random forest.