loss functions added for Gradient Boosting

- loss functions relevant to gradient boosting added
The stop at the end of this line can be removed.