geo: add distance computation