for some reason newtonf_tol and thresholdw_tol disappeared from run, even in the past two commits. No idea what the hell happened.