Added some more macros to cgtypes.h

    Removed aa_mode_t enum
    Added ROUNDVAL and ROUNDUP macros