update the MatrixOperations class