D matrix