Extending quadrature methods to value multi-asset and complex path dependent options