newrandomvariables (see paper)