Switched to using batch random forsest code