Improved training for stochastic flow maps via Legendre polynomials | HACKOBAR_