pub fn logistic_deriv(x: f64) -> f64
Returns the first derivative of the standard logistic function
Reference: https://en.wikipedia.org/wiki/Logistic_function