Improve logistic regression
first cut of Neural Network code