correctTypos function

Correct records under linear restrictions using typographical error suggestions