Improve calcSolarIrradiance and Add time and geographical data in constant.dat