Add l2-regularization to basic sgd logistic regression in cython