Set of kernel functions for computing distances between locations