Energy gap measurements based on enhanced absorption coefficient calculation from transmittance and reflectance raw data