moved drand48() into jfuncs.c