added runRandomForest function