add magnitude
Merge branch 'master' of https://github.com/briuin/em