working pegasos svm weight update