Changed description of the algorithm.

Figured I may as well EXPLAIN which parts were modified from the original algorithm, rather than expecting people to read both and figure it out on their own.