Statics: Composite Moment of Inertia on MATLAB