Edited documentation

I added some documentation, avoiding some snags I hit. They might be useful for other people.