added code for denoising auto encoder testing on MNIST, and modified the data extraction utilities so that the interface is more flexible in how data is retrieved.