Tune diagrams
Fix typos; correct MathJax code