A Wearable and Modular Inertial Unit for Measuring Limb Movements and Balance Control Abilities