public static int GetRandomInt(this RandomVariable variable)
 {
     // TODO: I don't think this will ever give us the max value.
     return((int)variable.GetRandomFloat());
 }