if (randomizeInitValues)
{
    global P1 = Random (0.0001,1);
    global P2 = Random (0.0001,1);
    global W1 = Random (0.0001,0.9999);
    global R_1 = Random (0.0001,0.9999);
    global R_2 = Random (1.0001,5);
}
else
{
    global P1 = 1/3;
    global P2 = .5;
    global W1 = .25;
    global R_1 = .5;
    global R_2 = 3;
}

P1:<1;
P2:<1;
R_1 :< 1; R_1:>0.000000001;
R_2 :> 1; R_2:<100000;
categFreqMatrix = {{P1,(1-P1)*P2, (1-P1)*(1-P2)}} ;
categRateMatrix = {{W1*R_1,W1,W1*R_2}};
category d = (3, categFreqMatrix , MEAN, ,categRateMatrix, 0, 1e25);			
