Thermal Modelling of Quantum Cascade Lasers