Add logit/logistic fn helpers, refactor dt parsing into own module, more analysis.