Cleaned up README and fixed a logic error.