Group Theory and its Application to the Quantum Mechanics of Atomic Spectra