CNN--modification

Add: max pooling layer, matlab m-file and faster version C++  file (in mex compile version)
Add: hyperbolic tangent layer
Add: early stopping criteria