Changed getters to const & and information matrix to &. Also removed informationmatrix from constructor
Restructed code in simple logistic regression