A Wavefront Tracking Algorithm for N×N Nongenuinely Nonlinear Conservation Laws