BP bug fixes, max-pooling, arbitrary mapsize/scaling ratios, trasposed y, minor changes.

BP bug fixes, max-pooling, arbitrary mapsize/scaling ratios, trasposed y, minor changes. All other updates will be in further commits.