Update undirect_synthetic_generator.m