trying to find possible div/0 error, causing NaN in newtownian motion
system