ADDED: complex c-functions to codegen

Definitions of most standard math functions are overloaded to call the
complex c-versions