loss functions added for Gradient Boosting

- loss functions relevant to gradient boosting added
Everywhere that is not code.