Bug Fixing 2/23

-Fixed duplication bug when LinePoint exists exactly on edge
-Tracked down further issues with mid point matching under this
situation