Wavefront control of laser beam using optically addressed liquid crystal modulator