Analytic optimization for holographic optical elements | Synapse