Add handmade perceptron