"An efficient and flexible model for patterns of population genetic variation"