The Evolution Of Group Traits : Modelling Natural Selection On Trait Prevalence Within And Between Groups