fixed an uninitialized variable in test_sampling.c
removed usage of INFINITY and NAN from gss.c