A correction to the two-dimensional BPM for the analysis of waveguide lenses