Matlab based program to calculate thermal load.