Sigmoid function implemented.