Prototype: DTW algorithm module