Improve y_rand() and y_param_unique a bit.

There were authored by André Luyer.