a function to test cmath abs() function added