Cleaning indent
Code quality
Adding comments
Merge pull request #4 from HugoGiraudel/master

Hugo's coding style changes, in prep for 1.0