Finite difference wave equation shown in paper is wrong?
Yes, it looks like a sign error in the paper. It looks like it was introduced in equation (4) and then carried through the following ones.

Probably the authors wrote the source code first and the paper after, so did not notice that their equations did not match what their code was doing. Ideally it should have been caught in the paper review, but, mistakes happen.