Two-dimensional fast marching for geometrical optics.