Fixed the distribution generator so it can process a whole month of data.

Also added a correction where no bin will ever have 0% probability.
#BecauseBayes