Added libs to calculate thermal field.