get_slope function

Derive slope as percentage from DEM