Added support for custom element equality functions for jarowinkler, levenshtein, and ngram algorithms.