Added simplification routine to transfer function constructor. Made trimzeros into a function in Polylib