README updated.
Fixed some little implementation bugs.