Scale sigmoid function