adding setup.py file
Update howto.py
fix shapes / adding setup file
cleaning code..
changed to switch structure
Merge pull request #24 from Ododo/master

Fix bugs in python module.