set_parameter_matrix function

Set parameter matrix