Bellman Ford: Some minor changes