separate the template approach to constructing Lambdat into another file
added Zt functions to template approach
massage tests and add template approach to formula parsing