seems to work now. Cleaned up helpers, added mimic expt for population
next for how many to keep
some more clean up for plotting
then move on the othe problems.