Code to calculate sigmoid function