A sphere is inscribed within a cube. A cube is then inscribed within the sphere such that the faces of the inner cube are all parallel to the corresponding faces on the outer cube. Let $S$ be the set of the distances from the center of one face of the larger cube to the vertices of the smaller cube. If the side length of the smaller cube is $1$, compute the sum of the squares of the elements in $S$.