Added Max Pooling for CUDA.