added parallel version of spectral testing; improved extraction of real data