small amount of MNIST cleanup
Merge pull request #1234 from goodfeli/fix_mnist

small amount of MNIST cleanup