Optimal Control Of Thermal Damage To Biological Materials