Update #8: fixed get2DArray

get2DArray initially returned the multidimensional array that contained the matrix object data. Editing this array could allow the user to edit the matrix object externally; this was fixed by returning a copy of the multidimensional array instead.