Updated tolerances and fixed py3 compat