Added support for reading MNIST data