Added header guards to simlib.h and simlibdefs.h