Added light direction calculations and sun updates according to current time.