Development of an IMU-based foot-ground contact detection (FGCD) algorithm. Issue 3 (4th March 2017)