Single layer perceptron