Copy a matrix and store as a copied matrix. Go though some functions with the original matrix. The copied matrix is modified at the end. I have tried .copy() and [:]