Formatting and fixes to physics

I fixed a precision error in updateCoords for collision detection
between ints and floats.