Made small changes to demonstrate error

I made a few changes to both the files to demonstrate the error that I
am getting when I try and run the function with complex values.