What structure are you referring to? We can have two functions, an easy
interface to DTW and one that takes the cost matrix.