Fourier Series/Square Wave/Special Cases