fixed scalar/list -> array on sph2xyz