Merge pull request #16 from abeaumont/master

Improvements in n-body benchmark
Avoid float division and comparisons in flip loop which was making it really
slow.