Figure 7 The sigmoid function and its derivative