added seed for random generator
added seed for random generator
type casting now implemented in update_param_dict