Small error fixed.
Another bunch of small bugs, showing the goodnes of good testing (which
this module lacks)
Added setup.py