corrected bfgs machine precision call