Changed usage of Math.abs to MathUtil.abs