Updated the docstring on dijkstra.