Fixed up perceptron for report