First sketch of logistic regression
Minor advances in logistic regression
Merge with master