Added 1d Spectral Extraction code