sum of harmonics