Added parentheses to macros so that best-practices with C macros are followed.

Added the necessary parentheses to the macros to spare operator-precedence-related bugs in the future
from the use of the macros. See: http://stackoverflow.com/questions/321143/good-programming-practices-for-macro-definitions-define-in-c/321173#321173