Fix bug in soft hand value calculation and code cleanup.