Implemented better fuzzy matching algorithm.