Added absolute error stopping criterion.