changes SIGN macro, adds testing for it
Merge pull request #17 from rubicks/ceeplusplus

changes SIGN macro, adds testing for it
converted macros to inline funcs