Refactoring & multiple fixes.

* Detecting line crossings
* Proper triangulation
* Proper triangle hierarchy
* Handling points in a line
* Also removed Makefile that went there for no reason