Bumped version number.
Cleaned up some comments and rearranged some code. Fixes #41.