Fixed missing parentheses for for and if statements
Merge pull request #75 from nens/arjen_fix_parentheses

Fixed missing parentheses for for and if statements