double dsigmoid(double x)

Returns the derivative of the sigmoid function on x.