Algorithms For Rapid Trip Detection In Human Walking Using Inertial Sensors