I think i fixed my matrix issue