FIX numerically unstable test_logistic.py