Most of Dijkstra done + corrected getTemps