Fix port of Mgrs - seems to work now (tests needed).