Fix multiple bugs. (DTW interfaces work correctly now)