get_distance_matrix function

Compute all shortest distance between origin and destination nodes.