setup.py fix
New tests and some bugfixes
Python3 fix
Remove unimplemented io methods
Merge pull request #37 from ChrisBeaumont/tests

New tests and some bugfixes
moments work, required some io changes
a little moment fixing