first impementation of rrt for truncated z-transforms