getAvgSpectra function

Extract average spectra