Conversions to polar and spherical coords.