Documentation

Docstrings and a rewritten readme to be more summary and less exhaustive.