Docstring polish
Update code for Python 3.4
Merge branch 'gmmclass'

The code works at the current state with Python 3.4. Next step would be to rewrite the code as a class.