Added functions and macros for making collision detection easier to code.