added capability for more than 2 groups
use zero
fixed using more than 2 groups
switch back to 2g solver