Logistic transformation numerical robustness
fix pickle