bug fix: reading of harmonic data had a bug caused by refactoring. Consistent formatting.