ridiculous bug in mag calculation.  Used UR twice instead of UR UinvR