Added function comments.
Applied Pep8 code style
Function comments
syntax correction in daq.py
Improved function documentation
Correct some mistakes in documentation