beenay , using modern computational equipment , had been calculating some aspects of kalgash 's orbit around onos , its primary sun , when to his horror he observed that his figures did n't check out properly in terms of the theory of universal gravitation .