Fix reversing the correspondences by especifying reverse permutation matrix