Small changes
Changed to calculate day and night rather than pos and neg fluxes, and incorporated plotting