Added doctests. They all pass now!
Bump version, lots of bugfixes and doctests now.