revised new forest code: fixed forest confidence and trees not pruned