Chenged the PhysEngine.update(). The method now sets grounded to true, and uses isGrounded to determine if it should stop motion or not. This is more correct and will be useful for later updates