Added margin perceptron.