Removed an unnecessary Math.abs call