fix terrible bug and make BFGS way, way faster
Merge branch 'master' of https://github.com/factorie/factorie into main_master