Correct sigmoid(float).