matrix in materila

weird behavior