Some code written using rnnlib for transformed MNIST images per timestep