Updating the fork, dewd.
Bug fix and code refactoring.
Documentation update aaagain.
Add .gitignore file.
.DS_Store deleted. Shame on me.
Merge pull request #11 from jeroen/master

Bug fixing, code refactoring and documentation update.