trying to coerce theano into allowing me to implement a lookup table