Added algorithm to docs

This is taken verbatim from the email sent on 4/11. I thought it would
be useful to have it as a reference. It is not set in stone.