Calculating sunlight hours in Ecotect