replaced nearest neighbour technique with triangle-line-intersection for mapping of geometry on mesh
moved collision detection methods to AnalyticalGeometry, added fixes based on pull request comments
Merge pull request #228 from rinkk/TriangleLineIntersection

Geometry on mesh mapping via Triangle-Line-Intersection