Approximations of the solutions of a stochastic differential equation using Dirichlet process mixtures and Gaussian mixtures