Normalize triplets in gain_val_tab[][] so gain_exp_tab[] can be just an