Updating thinkdsp.py