1. Added to simulators facilities to export C++ code.
2. Exported DoublePendulumSimulator functions to C++.
3. Added helper functions to print discrete expressions to simulators.
4. Added M, N_, X to SWIG simulators.
5. optimize_simulation is using optimized SWIG functions and avoid
sympy.lambdify (controlled through config.py).