v1.0.5

-overhauled several functions
-added  43  unit tests.