Fixed re-weighting bug in adaboost.mh.