added generic inv calculations to matrixops.inl (along with matrix cofactor, adjugate, determinant, sub matrix methods)