The method of the invention optimizes the development of a heterogeneous porous medium using enhanced recovery of a fluid by fast determination of position of a front separating a sweeping fluid and the fluid in the medium having application for development of oil reservoirs or gas. A disclosed electromagnetic energy detector embodiment includes an optically-interrogated temperature sensor; and a conductive element thermally coupled to the sensor, the conductive element having a temperature response to incident electromagnetic energy. Overflow in the add-compare-select unit may be indicated simply by the value of the most significant bit of the result. In addition, since every time some data is decrypted, the decryption support program authenticating unit 13 confirms authenticity of the decryption support program P, it is possible to prevent having illegitimate references in which the decryption support program is abused. Methods and compounds for the diagnosis, prevention, and therapy of the disease are also disclosed.