bug fix and amendments for shortest path algorithm
Merge branch 'master' of https://github.com/ejokeeffe/Matlab_Database_Classes