Adding first version of SpatialPyramidPooling.
spatial