modified solarCalculation, hopefully fixed calculation over time