Rigid Body Motion Capturing by Means of Wearable Inertial and Magnetic MEMS Sensor Assembly