Dynamic Time Warping (DTW) and Correlation Optimized Warping (COW)