Distance Functions including ngram and levenshtein, haversine, euclidean, etc...