Added some documentation. Resolves #12