Compatibility with Java 1.6.
Comments and minor refactoring.
Merge branch 'master' of https://github.com/PeterisP/morphology