Create matrixGetCopy and Modified matrixCalcDeterminant