Added TemporalMaxPooling implementation