Modular API for RF and minor fixes
minor change in Random Forest
Merge pull request #2311 from mazumdarparijat/rf

Modular API for RF and minor fixes