Added 'closest match' feature. Closes #657