Corrected errors on type definition of variables from complex<T> to T