Currently convert to Matrix class, run inverse, and then convert back to Mat. This could be done in one loop operation instead of three.
Currently convert to Matrix class, run inverse, and then convert back to Mat. This could be done in one loop operation instead of three.