comments / cleanup
adjust default speed
bug fix: typo resulting in passed in gradient function not being used for backward speed
include osmid to simplify debugging