Refactored progress.py slightly. Added example of a workaround for the lack of C99 complex support in ctypes.