fixed typo: iout_aux 

setting iout_aux should depend on self.num_aux not self.num_eqn.