Working on loading MNIST data for the DBN.