First version of primal perceptron.