Add code to execute the sigmoid function