Change the way stress_tox_ca is calculated
Change the way stress_tox_ca is calculated to make the steps more logical. Does not change the results. Instead of averaging the effects and converting to stress, first calculate the stresses and then average them.
Also add a check that ensures that p is the same for both models and q is the same for both models. Otherwise the mixture prediction would get more complicated.
Edited by Sebastian Henz