waveform code debugging in progress
added flag to debugging output + STas's suiggestion of stepping back two steps when calculating peak of omega
bug fix in hlm calculation function. dont call the flux-hNewton function as it suppresses the imaginary part