Fixed band_list bug in calc_mag