RIE function

Calculates Roughness Index-Elevation