Working on DTW. Code looks like it should work, investigating why it doesn't with sample data.