[gravity] allow to choose order of gradient operator for calculating acc...

...eleration from gravitational potential