Dynamic Time Warping modified to process gesture objects