added func sph2xyz