A dynamic time warping implementation for Theano