Smooth the boundary of a masked map by making the map values fall gradually to zero instead of abruptly to zero.