rand init code

added initial random initialization code to parameter vectors