Removed bug in Individual#<=> and refactored code.