Synthetic functions optimization (Jupyter ipython notebook)