working on the distance matrix callback function, need to troubleshoot on the consolelog on line 180