added ability to pass decimals to rand()