Correcting an astigmatic, non-Gaussian beam.