Changed perceptron notebook slightly.