Adds implementation of Dijkstra's algorithm for EMF models