w.tol(): more cleaning up internal functions & roxygen documentation