Improves completion rate. New Levenshtein function

Much simpler Levenshtein Distance code that gives higher completion rate at a much faster speed.