moved inertia to physics.c, it seems better placed in there...