Cycling the representer algorithm for variational data assimilation with a nonlinear reduced gravity ocean model