Custom theano Op to do numerical integration

That means some of the inputs are not of the right type