manifolds: Add complex exponentiation and cosine/sine extensions.

The current cosine/sine functions with complex arguments do not match
the profile of the desired extensions.