Inverse Techniques : Problems In Optics And Gas Sensing