delineate_valley function

Extract the river valley from the DEM