Removed avg_cost & costs dict since those have to do with levenshtein distances which aren't involved in sp_correct directly.