@mbyt: theoretically correct computation for 99c5a978b105ff2a2b0 proposed by @jwassermann. no adaptions of tests necessary.

(the conjugate was computed for the wrong one of the two signals in the
cross spectrum, making a manual shift by 180 degree necessary.)