Create mag.h
Merge pull request #4 from krishnraj/patch-2

Create mag.h