Add include recursion protection

Adding include recursion protection on Modes.h