Fix for crash if nodesNBodies array empty.
Merge pull request #9 from henryeverett/zero-object-crash-fix

Fix for crash if nodesNBodies array empty.