Fix some bugs in EdgeMatching.
Merge branch 'master' of https://github.com/ArtanisCV/TurboCV