~common.h Changed mistake with abs #define.

#define abs(a) was wrong, fixed now. Also moved order of code.