Removed debugging. Fixed a couple of typos. Clarified the documentation.