fixed another major typo. degY is double complex, not double!