Minor bugfixes
Change tol criterion to sum(div)