Fixed bug and updated README. (fixes #1)