Error-check ComputeGravitation call