3Complex derivatives can be evaluated by treating gi and gi as independent variables. See reference 1 and the appendix