Optimizing traveling wave MZM - optiSLang interoperability