Text this: Dynamics of flexible-link and flexible-joint manipulator carrying a payload with rotary inertia