MatrixFromBuffer(mA, num_rows, num_columns, ByRef buffer)

Creates a matrix from an array.

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

Example:
     MatrixFromBuffer ( 0, 3, 3, my_array )