Fixed the use of temperature in photon statistics, subroutine total_rates.
The code was still using the temper variable which has become undefined.
This can lead to divbyzero errors.
SHould use get_temperature_point. This has now been added to this
subroutine.