Optimization of a Thermoelectric Generator for a Heavy-Duty Vehicle