A device for measuring the Moment of Inertia for aerospace applications