Weighted Random Number Genarator added.