The statistics of the gravitational field arising from an inhomogenous system of particles