Enhancing DTW implementation in mlpy