Thermal lensing analysis of TGG and its effect on beam quality.