C# uses matrix operations (implement 3x3 matrix inversion)