Added in spectral moments computation