Levenshtein Distance UDF

Calculate the Levenshtein from two strings.

Includes some optimization such as a maxDistance parameter to reduce compute time and memoization.