Modifying some complex math operations

I found the definitions of some of the operations defined on complex number incorrect.
I have reported this issue on tracker#75. Changes include the patch for the problem and a spec file testing for it.