add a function getPathDist to compute distance for a given path in the graph
change the way to manage mask
add a function to compute the shortest path between the two most distant local minima of the map
fixed getgraph return. Added an argument to update external graph
getAllPathes now compute a graph between local minima