Add a flat spectrum option to gaussian_bfield