ok - Test that bfgs works with extra
arguments
Defines some simple functions and verifies that calling
bfgs on them returns the correct minimum.
Sets 'ok' to 1 if success, 0 otherwise
Package: optim