added levenshtien distance, keydefaultmap, and kl distance