Implementation for arXiv v2 paper

Updated implementation code to correspond with
corrected version of the paper (on arXiv as v2).
The only change was a tweak to the DSA protocol
which replaces "r", sent in the third messaging
round, with a non-interactive zero-knowledge proof.