Added a handy function for gain matching on any two peaks