The Undular Hydraulic Jump: On a numerical method for the computation of flows with curved streamlines