Arbitrary optical wave evolution with Fourier transforms and phase masks | Synapse