sigmoid function at x = 0.5