added argcheck to renorm
renorm unit tests
cwrapped renorm and fixes
unit tested renorm (works)
unit tester can be called from cmd-line