Updated CalcDiffWave: now has a fixed output name, _diffimax appended to the input.