Updated writeup for v2 of our code.