More efficient update in BFGS
Merge pull request #27 from lindahua/master

More efficient updates in BFGS