New flag use_deriv in line search methods
Account for partially initialized obejct in finalize method and simplify offset computations