residue of z/((z^2+1)*sinh(pi*z)) at z=i