Nonempirical Calculations on Excited States: The Formaldehyde Molecule