pwn, cuda: removed error in computation of the index image. Now values of the z buffer are considered correctly