Patterns of Choice: a model of choice and decision-making