Fixes

Fixed arithmetic bugs, added more tests, cleaned up logging, cleaned up
README.
index
Merge pull request #1 from leadhead9/develop

Fixes