Acceleration patterns of the head and pelvis when walking on level and irregular surfaces