Solving for the radius of a sphere