everything works with R2. all unit tests pass. Maxpooling has free zero-padding