Applies toTMatrix
Declarationprocedure SetElemVar(const Indexes: array of Integer; const Value: Variant);