Move: random number generator to "daoNumtype.c";
Add: a few minor improvements.