BFGS UGO Algorithm