updated mathematics pages with diagrams and LaTeX equations