Calculating the cumulative cost raster using r.cost