MatrixObject should be used for controlling things like XY mapping:
MatrixObject mo = ml.MatrixObjects(0);
mo.SetXY(x1, y1, x2, y2);
SetXMin, Max etc for Matrix<template> was older ways of doing things that we recommend not to use, since MatrixLayer and MatrixObject methods are better suited since they do not care about internal data types.
CP