correct calculation of intensity of god ray