Optimizations to getLevenshteinDistance (threshold version)
-Fail fast if difference in string length is greater than the threshold
-If at any point an entire row is above the threshold quit early