changed constants in logistic function
changed constants in logistic function