Update PhysicsEngine.java