spherical and toroidal volume calculation 7092105