Total Harmonic Distortion Square Wave