Added some more documentation.
Resolved issue #6 and issue #2.