fixes vary_mol to properly copy ZMatrix and change pars