Assessment of waveform similarity in clinical gait data: the linear fit method