at school i was taught that the gravitational field inside a solid sphere is equivalent to being on the surface of a smaller sphere at the same centre ie ignore all the matter at a radius 'above' your position that was a decade or ago though so you would want to verify this for yourself also see my comment above