Small fixes for Python 3-x compatibility
Merge pull request #5 from Cosmologist/patch-1

Small fixes for Python 3-x compatibility