i going to try to explain all the code that i will put in the next parts, first i going to tell you the problem, i am losing the reference of a pointer in this matrix that