it was a simple program , intended to perform the same calculation based on a set of variables , such as the weight of her ship , the distance and angle to the center of the vortex , and the location of other celestial bodies - even those too far for the eye to see .