Addlbfgs

I would move the definition of gamma closer to where it is actually used, i.e. before line 143, perhaps also with the computation of l.y and l.s. No effect on functionality, just for the sake of cleanness.