Fixed bug in harmonics.