A Jacobi elliptic function method for nonlinear arrays of vortices