collocation point calculation now converts imaginary to real if imaginary part is 0