Add magma-mode
Merge pull request #2059 from ThibautVerron/master

Add magma-mode