The Ehrenfest method with quantum corrections to simulate the relaxation of molecules in solution: equilibrium and dynamics.