Using math to better treat cancer