[newton] Implementation of absolute residual criterion See merge request !249
mentioned in commit 5328ed20