dynamic time warping with x y z combined