modified versions of theano scripts to support my 1D convolution implementation