Added magR
Merge pull request #262 from Sol-d/patch-21

Added magR