added dynamic time warping
added dynamic time warping