Closure, commutativity and minimal complexity of some spaces of matrices