Some basic distance functions.