working on perceptron primal
almost done with perceptron primal and dual