Improving counterfactual reasoning with kernelised dynamic mixing models