1. Fixed a doctest
2. Very minor refactoring in lda.py
3. Some changes to csv_help.py in the demos