Class for using complex numbers