New random reimplementatiom

creation of rdn and rdn_atom based on system's clock.