Wrote Ipython_latex_scratchpad and Ipython_open_
wrote and tested dim1sin_D_aDf_linear

needs tidying up