I don't know if this will work, but you can try it...
Make Object Sphere 999,0
Position Object 999,SphereXPos#,SphereYPos#,SphereZPos#
Rotate Object 999,AngX#,AngY#,0
Move Object 999,Radius#
NewX#=Object Position X(999)
NewY#=Object Position Y(999)
NewZ#=Object Position Z(999)
Delete Object 999
This will simply make an object and position it at the center of the "sphere", it then rotates it, moves it the givin radius, and gives you the 3-D coordinants... I made the object 999 so it doesn't ruin the rest of your code, but feel free to change it to any number you wish... the SphereXPos#, SphereYPos#, and SphereZPos# are the coordinants of the center of the sphere...
well... i hope that helps...
[edit...]
If Make Object Sphere 999,0 doesn't work, change the "0" to "1"
Do not thwart the way of the dragon. For thou tasteth like chicken.