Visualize result of MNIST.
Fix bug in maxpooling layer.
Fix bug in subsampling layer.