Add safe_math to util
job test: sanity check on nonmem
Fixup pragmas and includes in some headers