slope function

Calculate topographic slope from a DEM