wrote and tested dim1sin_ab_linear

tidied up code generating funcitons to have phi_i = sympy.sin(mi * z)
etc.
wrote and tested dim1sin_D_aDb_linear

had to adjust for dirac integrations at end points.