Moved models into a seperate module.
Moved geometric functions into a seperate module.
Fixed tests.
Improved comparison function fuzzy=.
Fixed docstring.