PNWaveformModes code compiles
Reasonable results for waveform modes