Refactored genotypes summary implementation, added new statistics, introducing tests