Importance sampling example