TemporalMaxPooling

Implemented TemporalMaxPooling for cunn
check that gradOutput is contiguous, similar to line 106.