Minor bug fix.
Use __getitem__ to obtain the Fourier coefficient and added an explanation of the code.