changed conversion of pointers for complex in and output to get rid of warnings.