Re-use gmx_within_tol from math/utilities instead of is_equal