Computation of zero directions of transfer functions