Added to README and clarified some code