Update algorithm from pseudo-code in arxiv paper

The Frugal Streaming paper is no longer behind a Springer paywall.  The
new publication of the paper on arxiv has a few fixes from the original
description, notably the bug-fix mentioned on the webpage and a few
other changes.