Major revamp. Most of the functions fixed.

Lacking DLL support.

Bugtrack:
Somewhere in distanceMeassuring an iterator error is thrown while initializing to variable