simplify evaluation and logistic error function