Optimization of cross flow heat exchangers for thermoelectric waste heat recovery