Version 1.006

Fixed dependence on RAND_MAX = 32767, should now work for any larger
values (not for smaller, but I doubt they occur)