Updated perceptron code. Now working