Dot and cross products and spherical coordinates