distance_from_sea function

Compute a raster of distances from the sea for each land pixel.