What were some contributions did Carl Gauss have to the Quantum Theory?