logistic regression

jim's logistic regression work.