Lattice VMC in c++.