switch from phetcommon.MathUtil to dot.Util