Minor refactoring.
readme.pdf updated.