refactor for midje unit test, values test passes
first crack at logistic. sigmoid test passes
get this stuff back on one branch
tests added for logistic