Adding implicit Haar sampling, working a bit more on SDC, and fixing a few mistakes in the argument order in some of the documentation.