Creation and detection of optical modes with spatial light modulators | Synapse