folder to write the file and the plot, if NULL
then the image is plotted to the screen
window_width
number of years in each window
Value
No explicit returned values, (1) writes 'distribution.txt' with
statistics about the windows (2) creates a plot 'distribution.png' in the
output_path showing the distribution of outcomes