added option saveErrors to edit_distance