corrected .h include to point to signals.h, rather than the old sgfilter.h
moved definitions from signals.h to signals.c, since external scripts shouldn't care about this stuff. also corrected how math.h and stdlib.h are included in signals.c