matrix in w