A comparison of kinematic based gait event detection methods in a self-paced treadmill application