ADDS the compute_stable_populations function
ADDS more tests for deathThreshold toggling