To test out our binary Gerchberg-Saxton, use the 'test.py' file. It contains two boolean variables at the top of the file. 

'flip' controls which conjugate symmetric mode in the output is optimized for.
'use_dist' controls whether the calibrated phase distortion is utilized. If you want to use this setting, make sure you run the distortion script in the 'distort' directory first.

'holography.py' contains the code for our binary Gerchberg-Saxton algorithm.