Expose walk reluctance parameter to API

This pull request adds the walk reluctance parameter to the API and sets the default maximum walking distance to unlimited. API users can thus limit the amount of walking either the traditional way, or by setting the walk reluctance to a value of their choosing.