Estimation of the center of rotation using wearable magneto-inertial sensors