Add n_iter argument to l-bfgs implementation of logistic regression