rosenbroch function example, and fixes to LBFGS
need to set a max iterations in LineSearch.