Done implementation of TemporalMaxPooling