removed opts dependency in lbfgs