Fix issue #34 (complex exp).

- Correct error in complex exp (switch real and imag parts)
- Added working regression tests for this case and other complex functions.