use standard abs()

there isn't a separate math library here anyway