perceptron has correct output on small data