Calculating Gravitational Attraction