GetMatrix(ByRef buffer, mA)

Saves the matrix mA in an array

NOTE: buffer must have the same number of dimensions as the desired matrix for the structure to remain intact.

Example:
     GetMatrix ( my_array, 0 )