Sim.Weights function

Simulation of weights