Removed a lot of debugging code and updated the README file.