Define functions for ImaginaryUnit