Simulation of Oxygen Isotopes in a Global Ocean Model