Dynamic Time Warping: 2D Alignment

2D dynamic time warping with cost matrix, Sakoe-Chiba band, optimal path and alignment lines.