Converts PBAND to Gain an vice versa