Linear and geometric algebra approaches for sphere and spherical shell intersections in Rn. (January 2022)