topidx function

Calculation of the topographic index from a DEM raster