Gravity is an inverse square relation (F of g = G*m1*m2/r^2) and should be plotted as a curve. When converting to acceleration, the mass of the object you are accelerating cancels out, but the r is still squared. You can see how it curves, in a game, you should never have any error (unless it's intentionally added to the instruments)