added variables to terminal nodes, calc tree currently is broken w/
variables