sgd notes
minor edit
added HUDdemo.R for demos