Add tests that verify the output of `dtw`. You could add a regression example based on the result from the curves in your example. Also, it'd be nice to test for a result you'd expect a priori. For example, two sinusoidal curves with the same number of peaks/troughs, but different amplitude and wavelengths. Using only the peaks and troughs as points passed to `dtw`, you'd expect the `dtw` to correctly match those peaks and troughs.