SD-notes Notes on the inner workings of SD (also apply to ScarletDME and open source version of openqm)