Calculate argument of complex number (#651)