mpl_set_charac_weight function

Set the weight of a character in the dataset