Exact Indexing of Time Series under Dynamic Time Warping