list representation of matrix