Fixed a typo, added a clarification to inline comments.