Computerised model of temperature changes during metal extrusion