bug fixes. this code uses adaboost weighting for the loss and in the exposure function. the loss is not based on the full concatenated model.