Moved topological matrix operators into separate struct.