comments, docstring
Added preliminary def of logistic function