Mathematica code for the study "Female sperm use and storage between fertilization events drive sperm competition and male ejaculate allocation"