public Matrix(double[,] m)
{
_asTransposeRef = false;
Rows = m.GetLength(0);
Cols = m.GetLength(1);
_matrix = new double[Rows][];
for (int i = 0; i < Rows; i++)
{
_matrix[i] = new double[Cols];
for (int j = 0; j < Cols; j++)
_matrix[i][j] = m[i, j];
}
}