separate function

Separates a Spectra* object into a calibration and a validation set.