Basically works

I can generate a curve for each band gap up to the nth gap. So far no
problems, surprisingly. As expected, each band gap is smaller than the
preceeding gap. This difference decreases for each subsequent gap.