rosenbroch function example, and fixes to LBFGS