Merge pull request #124 from pmienk/version2

Correct bit shift error.