Addlbfgs

Computation of prevGamma should be moved here.