Text this: Optimal Transport and Applications to Geometric Optics