wrote sign.c, added math.h to gamlr, lhd