Parametrize by abundance ratio
Some minor refractoring and fixed the calculation of the confounder abundance