Decomposition of matrices into products of commutators of quadratic matrices