sex and age segmentation for stats Fixes #31
Merge branch 'stats_sex_age' into develop