An Algorithm for Supralinearity Correction Applied to Radiation Therapy Thermoluminescence Dosimetry