Changed initialization of floyd_warshall_predecessor_distances to correctly
report distance 0 for the distance from a node to itself. Also adds a test to
be sure this is correct.
Merge pull request #832 from bjedwards/master

Correctly initialize the distances in floyd_warshall_predecessor_distance.

Fixes #831