Fix mixing ratio calculation, with test.