Semi-Analytic Complex Variable Method for Computing Sensitivities in Heat Transfer Problems