A Thermal Simulator for Naturally Fractured Reservoirs