Redirecting to Generalized permutation matrix