fixed r2 calculation bug in regressor forest