Updated sphere testing to generate an object circumsphere.