Measuring the inertia tensor of vehicles