Kernel regression using Theano