Spectral Moments Calculation of Linear System Output