Fixed the shortest path length algorithm
Added the measurement of times for the algoritms during the
implementation on the different models.
Developer documentation added.