Fixed some bugs, still major bugs. bugs/6.mod should be the same as mods/valley.mod, some problem with sample numbers.