Refactored Sphere-Body Coordinates Calculation