Added some macros for bit mask stuff
Added macro for argument checking
version bump