Ab initio and Monte Carlo calculations for a nucleophilic addition reaction in the gas phase and in aqueous solution | Synapse