MaxPoolGrad that wrap Alex's code.