added dist(ance) function to geo.js