Selecting Number Of Fourier Terms