fix #9: add floating precision attribute
fix #8: refactoring, API cleaning and test suite

includes:
 - use new-style properties
 - move consistency checks over to setters
 - cleaning and refactoring
 - update test suite
fix #10: add option to precompute at construct time
move version over to setup script
update documentation
release version 1.2