Building Matrix In Math