Correcting Geometric Image Distortion in Optical Engines.