profiling on mnist
Merge branch 'cpu'
bug fix in pooling layer.