Added MIN, MAX, and sign macros to misc_math.h. The sign macro returns -1
for values less than 0, and 1 for values greater than or equal to 0. 0 is
specifically not handled different from strictly positive numbers.
Added library functions for computing atmospheric conditions.
Fixed hostile redefinition of bool.
Fixed simulation boolean defines.