Removing pits from the DEM