On the evaluation of nonadiabatic coupling matrix elements for MCSCF/CI wave functions using analytic derivative methods. III. Second derivative terms | Synapse