Matrix Tools in C# language