Code for paper figures and fixation probabilities for incentive dynamics