General second-order MCSCF theory for large CI expansions | Synapse