Nbody example improved

See issue [#246](https://github.com/kylelutz/compute/issues/246#issuecomment-54104978)