Some code for calculate the position of the Sun.