protected static mat eye(int size) { return Matrix.Identity(size); } /// <summary>Inverts a matrix.</summary>