[MATRIX]

add matrix structure