rmgap function

Removing vertical gaps in spectra