loss functions added for Gradient Boosting

- loss functions relevant to gradient boosting added
These tests usually break if things are not properly initialised when the class is created with empty constructor