add 3D max pooling
add 3D convolution documentation
added strict c89 flags
fixed cuda flags issue
C89
Merge remote-tracking branch 'upstream/master'

Conflicts:
	extra/cuda/CMakeLists.txt
	extra/nn/CMakeLists.txt
	pkg/CMakeLists.txt
	rocks/nn/doc/README.md