Improve error message
temp
Corner detection utility