A matlab based program to calculate thermal load.