I am making all these functions private - yet adding docstrings - as I don't think they should be used externally because they are too specific. This blurring function padds the input array with zeros within the mask, and actually does just that beside calling `scipy.ndimage.gaussian_filter`.