Fix for inner product of complex vectors