Fixing bitmasks and adding comments.
Merge pull request #20 from Eegras/eegras

Fixing bitmasks and adding comments.