The Mathematics of Thermal Modeling: An Introduction to the Theory of Laser Material Processing