Online correction of dispersion error in 2d waveguide meshes