Corrected typo in sigmoid function