Inverse Optical Design and Its Applications