Implementation of Wei's urn design for RANDI2 (>=0.9)