fixed computing of shortest path's weight for Floyd-Warshall algorithm for edges having weight != 1.0
Merge pull request #18 from plprofetes/master

fix for Floyd-Warshall algorithm for non-default weighted edges