Added Theano code for manipulations. Works much much much faster!