Add docstrings to converters and repair demo.
More documentation and refactor of entropy module