Update nbody.c

Stops NAN returns on Windows from causing errors.