tibbe/ekg — pull request #25 by ocharles (2014-07-12 10:03:32+00:00)
Title: Correct a JavaScript exception for empty distributions

If you create a distribution but don't write to it, the mean of the
distribution is NaN - which Aeson encodes as `null`. Thus we have to
make sure that when working with the mean, we check for `null`.