finish all windowed DTW functions.