more clean up and better figure captions in docs/note06.tex