various style changes; using atomics instead of reducing arrays
minor style fixes
Merge pull request #34 from benharsh/fannk

Fannkuch cleanup to improve style and use atomics