Added a subscript operator for Matrix