Added a running-entropy function that I think is valid