gl.genleastcost function

Performs least-cost path analysis based on a friction matrix