ddbs_distance function

Returns the distance between two geometries