added max pooling on alex krizvhesvky style tensors