This question was migrated to SO. I was wondering why, since it's not a particularly good fit for SO:
- Image of (pseudo?) code: a big no-no.
- Asking to read paper by a 3rd party and find an error in it: not related to programming.
- Incomplete: OP isn't even sure about the meaning of the inputs.
To me it seems that, even with the issues it has fixed, the question would fit better here than there, since it requires expertise in signal processing, not in programming.