THE DTW ANALOGY
Note the similarity to DTW with slope constraints