Efficient contraction of 1-loop N-point tensor integrals