limited memory version of damped BFGS with backtracking line search