Update Coord.java

Math.abs method call is not needed. Function calls take extra time and extra stack memory.