add a r.cost submodule that uses a raster input as starting point(s)