3int mdcTwoInv(
double matrix[3],
double invmat[3]) {
10 det = matrix[0] * matrix[2] - matrix[1] * matrix[1];
19 invmat[0] = matrix[2] * detinv;
20 invmat[2] = matrix[0] * detinv;
21 invmat[1] = -matrix[1] * detinv;
int mdcTwoInv(double matrix[3], double invmat[3])