Optimization of orbitals for multiconfigurational reference states | Synapse