Fixes cphase and adds example with complex number.