Calculate time it takes for light to reach the earth from the sun