THD + N (external sinusoid)

Use this to compute THD+N if the sinusoid is generated from another source than WinMLS.