Replace hard coded number with defined command constant
Add core diagramm to module_commutation documentation. Format code and documentation