wrote and tested make_thesig and the code generation for it.
redid thesig etc as theta_two_prop in order to avoid repeating code.