loss functions added for Gradient Boosting

- loss functions relevant to gradient boosting added
const