Fix bug in gradient boosting.
Add log loss to Gradient Boosting.