Call random:seed/1 before using random:uniform/1.