Md matrix