Optimization of Analytical Inverse Heat Transfer Recovery Solution