more realistic gravity using invdist