What were some contributions that Carl Gauss made to the Quantum Theory?