Fix indexing of neurons in max pooling layer.
Fix indexing of neurons in max pooling layer.

jameshanlon/convolutional-neural-network,jameshanlon/convolutional-neural-network,jameshanlon/convolutional-neural-network