Dual Perceptron with Margin implemented