Fix logistic regression to not center data.
Also add a feature to get the intercept correct and test these
using a small unit test.