Required changes to get it building on my mac
peakEnergy calculation now symmetric around peak
otherEnergy calculation can be constrained to just the audible frequency range. If not constrained, plot is now drawn for whole freq range.
Averages now always plotted for correct range, can be en/disabled with define.