Cleaned some code (loops)
Cleaned some more..
Merge pull request #2 from tomvantilburg/master

Code cleaning