Iterative perturbation calculations of ground and excited state energies from multiconfigurational zeroth-order wavefunctions | Synapse