Minor code changes
Add more exposition to the README