Study of ergodicity of Monte Carlo calculations for simulation of the hydroxonium ion in water