Adding grouped logistic regression and fixing how the unit tests generate test data.