Feature extraction and gait classification in hip replacement patients on the basis of kinematic waveform data