change getRandomWeightVector