A novel criticality analysis technique for detecting dynamic disturbances in human gait