I have not tested the perceptron, but I have updated it